package com.netty.chapter1;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

/**
 * Description:
 *
 * @author: StriverFeng
 * @date: 2018-9-21
 * Details:
 */
public class ConnectHandlerTraining extends ChannelInboundHandlerAdapter{
    @Override
    public void channelActive(ChannelHandlerContext ctx) throws Exception {
        System.out.println("client"+ctx.channel().remoteAddress()+"connected");

    }
}
